projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8f900
)
* lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd,
author
Juri Linkov
<juri@linkov.net>
Mon, 28 Jan 2019 20:18:20 +0000
(22:18 +0200)
committer
Juri Linkov
<juri@linkov.net>
Mon, 28 Jan 2019 20:18:20 +0000
(22:18 +0200)
group and shadow /etc files. (Bug#34225)
lisp/generic-x.el
patch
|
blob
|
history
diff --git
a/lisp/generic-x.el
b/lisp/generic-x.el
index 014379fba949047e934cc69ad59408545f928430..dd614020153ed11d3892482238a4da96ec161282 100644
(file)
--- a/
lisp/generic-x.el
+++ b/
lisp/generic-x.el
@@
-1490,7
+1490,7
@@
like an INI file. You can add this hook to `find-file-hook'."
'("^\\([^:]+\\):\\([^:]*\\):\\([0-9]+\\):\\(.*\\)$"
(1 font-lock-type-face)
(4 font-lock-variable-name-face))))
- '("/etc/passwd
\\'" "/etc/group
\\'")
+ '("/etc/passwd
-?\\'" "/etc/group-?\\'" "/etc/shadow-?
\\'")
(list
(function
(lambda ()